﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Top.aspx.cs" Inherits="Education_Top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../Common/css/main.css" rel="stylesheet" type="text/css" />
    
     <style type="text/css">
     div{_behavior: url("../Common/css/iepngfix.htc") }
    </style> 
    <script type="text/javascript">
    //主导航
    function Navigate(itemIndex,obj)
    {
        switch(itemIndex)
        {
            case 1://统考管理
                parent.document.getElementById("ft").cols="0,*";
                parent.document.getElementById("leftFrame").style.display="block";
                parent.frames["leftFrame"].location.href="about:blank";
                parent.frames["mainFrame"].location.href="Manage/SituationManager.aspx";
            break;
            
            case 2://报表
                parent.document.getElementById("ft").cols="200,*";
                parent.document.getElementById("leftFrame").style.display="block";
                parent.frames["leftFrame"].location.href="Left.aspx";
            break;
        }
         
        obj.style.backgroundColor = "#9de1f0";
        var listA = document.getElementById('div').getElementsByTagName('a');
        if(listA != null && listA.length > 0)
        {
            for(var i= 0 ; i < listA.length;i++)
            {
                if(listA[i].id != obj.id)
                     listA[i].style.backgroundColor = "#ffffff";
            }
        }
        
    }
    
    </script>
</head>
   
<body>
      <form id="Form1" runat="server" style="height:100%">
     <div class="bodyWarp">
        <div class="pageHea" id="div">
    <h1>聚网成绩管理系统 教育局端</h1>
    <br /><br /><br /><br /><br /><br />
        &nbsp;&nbsp;&nbsp;&nbsp;<a class="top_menu_item" id="item1" onclick="Navigate(1,this)">统考管理</a>&nbsp;&nbsp;&nbsp;<a id="item2" class="top_menu_item"  onclick="Navigate(2,this)">报表查询</a>
        </div></div>
    </form>
</body>
</html>
